<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Input example using form variables</title>
	<link type="text/css" rel="stylesheet" href="phylogeoviz.css" />
    <link type="text/css" rel="stylesheet" href="previewstyle.css" />

  </head>

  <body id="page">
	<h1>Input formatting guidelines</h1>
	<h2>Input format for field 1:</h2>
	<p>All numbers are separated by a space or tab.  Enter the population name (cannot contain spaces), latitude (in decimal degrees), longitude (in decimal degrees), then number of samples of each haplotype (including zeros). One population's data per line.  Lat and longs should be in decimal degrees.</p>
	<table class="inputexample">
	<tr><td>pop1_name</td><td>pop1_latitude</td><td>pop1_longitude</td><td>pop1_hap1_count</td><td>pop1_hap2_count</td><td>pop1_hap3_count</td><td>...</td><td>pop1_hapX_count</td></tr>
	<tr><td>pop2_name</td><td>pop2_latitude</td><td>pop2_longitude</td><td>	pop2_hap1_count</td><td>pop2_hap2_count</td><td>pop2_hap3_count</td><td>...</td><td>pop2_hapX_count</td></tr>
	<tr><td>pop3_name</td><td>pop3_latitude</td><td>pop3_longitude</td><td>pop3_hap1_count</td><td>pop3_hap2_count</td><td>pop3_hap3_count</td><td>...</td><td>pop3_hapX_count</td></tr>
	<tr><td>..._name</td><td>..._latitude</td><td>..._longitude</td><td>..._hap1_count</td><td>..._hap2_count</td><td>..._hap3_count</td><td>...</td><td>..._hapX_count</td></tr>
	<tr><td>popY_name</td><td>popY_latitude</td><td>popY_longitude</td><td>popY_hap1_count</td><td>popY_hap2_count</td><td>popY_hap3_count</td><td>...</td><td>popY_hapX_count</td></tr>
	</table>
	<h3>Example: Data for 4 populations, 3 haplotypes</h3>
	<pre>
pop1 35.929673 -78.948237	3	2	5
pop2 38.889510 -77.032000	1	0	0
pop3 38.032120 -78.477510	0	1	9
pop4 36.379450 -75.830290	2	2	1
	</pre>
	<h2 id="field2instructions">Input format for field 2: Optional haplotype information:</h2>
	<p>All names are separated by a space or tab.  Names cannot contain spaces.  Order of haplotypes must correspond to order in field 1.  There must be the same number of haplotypes entered in field 2 as in field 1.</p>
	<table class="inputexample">
	<tr><td>hap1_name</td><td>hap1_group</td></tr>
	<tr><td>hap2_name</td><td>hap2_group</td></tr>
	<tr><td>hap3_name</td><td>hap3_group</td></tr>
	<tr><td>..._name</td><td>..._group</td></tr>
	</table>

	<h3>Example: Data for 3 haplotypes</h3>
	<pre>
hapA	high
hapB	low
hapC	high
	</pre>
  </body>
</html>
